home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / grafit20.zip / README < prev   
Text File  |  1993-01-14  |  12KB  |  207 lines

  1. +--- +--- | /************  GRAF-IT! v2.0 -- README  ************+--- +--- | /
  2. |--  |--  K********************  January 1993  *****************|--  |--  K  
  3. +--- +--- | \******  (c) Copyright 1990 Eugene Eric Kim  *******+--- +--- | \
  4.  
  5. WHAT GRAF-IT IS?
  6.      GRAF-IT! v2.0 plots functions and inequalities of functions, as well as 
  7. solves systems of inequalities.  It is a very intuitive, yet powerful math 
  8. graphing program.
  9.      This was written as an educational tool for the math department at 
  10. Polytechnic Upper School in Pasadena, CA.  It is appropriate for junior high 
  11. school, high school, and college students.
  12.  
  13. WHY GRAF-IT?
  14.      There is an abundance of graphing software available, both shareware and 
  15. commercial.  Some packages are extremely powerful, yet their interfaces tend 
  16. to intimidate the average user.  Other packages are extremely simple (and 
  17. often free), yet their usefulness is limited to drawing lines and circles.
  18.      GRAF-IT! can be classified as a simple package, yet its power goes 
  19. beyond other "simple" packages.  It plots a plethora of functions, and allows 
  20. almost complete manipulation of the graph range.  It maintains a buffer of 
  21. seven equations, so you can keep track of what you're doing, as well as save 
  22. the last seven equations you typed and the range.  The user interface is 
  23. extremely intuitive -- you just type in the equation and press return.
  24.      The most powerful feature of all, the reason GRAF-IT! was written, is 
  25. the inequality feature.  Systems of inequalities are used in many real-world 
  26. applications, from construction to economics.  Very few programs have this 
  27. ability, and those that do are generally anti-intuitive.  GRAF-IT! will not 
  28. only graph inequalities of functions, it will graph the solution to a system 
  29. of inequalities with a one key command.
  30.      A combination of all these features makes GRAF-IT! a powerful tool, 
  31. especially for building intuition.  It was written to be an education tool, 
  32. and can be used to help students understand algebraic concepts such as 
  33. solutions to systems and even simple calculus concepts such as maximums and 
  34. minimums.  For those students beyond this level, GRAF-IT! can be used to 
  35. analyze scientific and technical problems.
  36.  
  37. GETTING STARTED:
  38.      The only hardware requirement for GRAF-IT! is a VGA monitor.  It will 
  39. work equally well on an XT machine as it will on a 486 machine.  In fact, it 
  40. was written on a Leading Edge Model D, an Intel 8088 based machine.
  41.      There is only one necessary file: GRAFIT20.EXE.  The archived package 
  42. should include the following files:
  43.            GRAFIT20.EXE -- GRAF-IT! v2.0 executable
  44.               DEMO1.EGC -- Demo files
  45.               DEMO2.EGC
  46.               DEMO3.EGC
  47.                  README -- This readme file
  48.      Just type GRAFIT20 at the DOS prompt and you are ready to begin.  There 
  49. are two command line options:
  50.  
  51.            GRAFIT20 [notitle] [load:{filename w/o extension}]
  52.  
  53. The 'notitle' option prevents the opening screen from displaying.  The 
  54. 'load:' option allows you to immediately load a file.  Just type the filename 
  55. of the .EGC file WITHOUT extension and with no space between the colon and 
  56. the filename to load the file.
  57.  
  58. USING GRAF-IT! v2.0
  59.      GRAF-IT! operates on a command line principle.  All commands and 
  60. functions are typed in the box labelled, f(x).  Every command is one letter.  
  61. In order to execute a command, type the letter and press <RETURN>, then 
  62. follow the instructions.
  63.      In order to graph a function, just type the function in and press 
  64. <RETURN>.  A couple of notes on functions: first, there are certain letters 
  65. which are not allowed -- if you press an invalid key such as <SPACE>, you 
  66. will hear a beep, and the character will not appear.  Also, make sure each 
  67. argument inside a function is surrounded by parentheses.
  68.      If the buffer is on (default), all equations are queued into the 
  69. buffer.  To toggle the buffer off, just type T (see the section COMMANDS), 
  70. and the equations will no longer be queued.
  71.  
  72. COMMANDS
  73.      L -- Load file: Loads up previously saved equations and range values.  
  74. Enter the file name without the extension at the prompt.
  75.      G -- Save file: Saves the current set of equations as well as the 
  76. current range values.  Enter the file name at the prompt.  Will automatically 
  77. add the .EGC extension.
  78.      C -- Clear the graph: Clears the graph.  Does not reset any values.
  79.      I -- Inequality mode: Allows the user to enter inequalities.  At the 
  80. prompt, choose which inequality you want.
  81.      S -- Solve system: Solves a system of inequalities.  There must be two 
  82. or more inequalities in the buffer.  The S command will redraw the graphs and 
  83. fill in the solution, if there is one.  If there is not, the program will 
  84. notify you.
  85.      V -- Vertical line: Lets you plot vertical lines.  Enter a number at the 
  86. prompt (x=?).  In order to enter an inequality of a vertical line, use the I 
  87. command first, then V.
  88.      W -- Redraw: Allows you to redraw equations that are in the buffer.  The 
  89. command prompts you either for the number of the equation, or A for all, or C 
  90. for cancel.
  91.      F -- Replace sign: Lets you change the sign in an equation in the 
  92. buffer.  First select the equation (or C for cancel), then the sign.
  93.      Z -- Display equation: For especially long equations, the buffer will 
  94. truncate the expression.  In order to see the whole equation, use this 
  95. command.
  96.      A -- Add equation: This command lets you put equations into the buffer 
  97. without graphing them.  This is a useful command for demonstration purposes, 
  98. as well as speed (if you are using 8088 machines).
  99.      T -- Toggle buffer: Turns the buffer queue on and off.  The default is 
  100. on.
  101.      P -- Purge buffer: Delete all of the equations in the buffer in one fell 
  102. swoop.  Be careful with this command; once you use it, your information is 
  103. gone forever!
  104.      R -- Set range: Let's you set the range of the graph.  This can be used 
  105. as a zoom function -- change the range, then redraw the equations.  
  106. Limitations of the zoom function: the tic value cannot be set; only integer 
  107. values can be entered.
  108.      E -- Reset graph: Clears the graph and restores the default range 
  109. values.  (X and Y Min = -10, X and Y Max = 10).
  110.      D -- Delete from memory: Allows you to delete individual equations from 
  111. the buffer.
  112.      H -- Help.  The help is not too bad, but it is a little uncomfortable to 
  113. use.
  114.      Q -- Quit.  Self-explanatory.
  115.  
  116. FUNCTIONS
  117.      The following are all legal functions and operations:
  118.            +   -   *   /   (   )   ^   sqrt   log   ln   exp   sin
  119.            cos   tan   sec   csc   arcsin   arccos   arctan
  120. Remember to keep the arguments inside of the functions surrounded by 
  121. parentheses.
  122.      There is one limitation with the power (^) function.  See the reference 
  123. to error message #5 in the section on ERROR MESSAGES below.
  124.  
  125. ERROR MESSAGES
  126.      #1 -- Illegal Input Error: The user entered a garbled message.  If you 
  127. enter some unknown function, this error will appear.
  128.      #2 -- Missing Constant or Variable Error: If there are no numbers or 
  129. variables in the expression the user has typed, this error will occur.
  130.      #3 -- Missing Parentheses Error: The parser checks to make sure there is 
  131. a corresponding end parenthesis for every open parenthesis.
  132.      #4 -- Dangling Operator Error: If there is a binary operator with only 
  133. one element, this error is displayed.  (ie. f(x)=+X+1)
  134.      #5 -- Fractional Power Error: Because of a weakness in my parser, if you 
  135. are entering a fractional power expression, it must be in the following form:
  136.            ^({numerator}/{denominator})...
  137. You CANNOT have any expression preceding the numerator or the end 
  138. parenthesis.  The following is an illegal expression:
  139.            X^(1/3+1)
  140. There is a flaw in my parser which is the reason for this.  If you are 
  141. interested in why this does not work, please send e-mail or write, and I will 
  142. be happy to explain.
  143.  
  144. HISTORY
  145.      In my sophomore year, my math teacher approached me and asked me to 
  146. write some software for